//
//  CommonItem.m
//  Weibo
//
//  Created by Anasue on 9/21/15.
//  Copyright (c) 2015 Anasue. All rights reserved.
//

#import "CommonItem.h"

@implementation CommonItem

+ (instancetype)itemWithTitle:(NSString *)title icon:(NSString *)icon
{
    CommonItem *item = [[self alloc]init];
    item.title = title;
    item.icon = icon;
    return item;
}


+ (instancetype)itemWithTitle:(NSString *)title
{
    
    return [self itemWithTitle:title icon:nil];
}

@end
